package JDBCwork;

import java.util.Date;

class People {

    private  String num;
    private String name;
    private String gander;
    private Date date;
    private double hight;

    public People() {
    }

    public People(String num, String name, String gander, Date date, double hight) {
        this.num = num;
        this.name = name;
        this.gander = gander;
        this.date = date;
        this.hight = hight;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGander() {
        return gander;
    }

    public void setGander(String gander) {
        this.gander = gander;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public double getHight() {
        return hight;
    }

    public void setHight(double hight) {
        this.hight = hight;
    }

    @Override
    public String toString() {
        return num+" "+name+" "+gander+" "+date+" "+hight;
    }
}